<template>
  <div class="wallet">
    <div class="header">
      <ul>
        <li @click="goback">
          <img src="../assets/icon/向左箭头.svg" alt="" />
        </li>
        <li>我的钱包</li>
        <li>余额明细</li>
      </ul>
      <div class="moneny">
        <h3>
          <img src="../assets/icon/小圆点.svg" />我的余额<img
            src="../assets/icon/小圆点.svg"
          />
        </h3>
        <h1>1999999.99</h1>
      </div>
    </div>
    <ul class="content">
      <li><img src="../assets/icon/银行卡.svg" />我的银行卡</li>
      <li><img src="../assets/icon/待收金额.svg" />待结算金额</li>
    </ul>
    <div class="footer">
      <button>提现</button>
      <button class="btn2">转账</button>
    </div>
  </div>
</template>

<style lang="scss" scoped>
.wallet {
  font-size: 16px;
  height: 600px;
  background-color: rgb(243, 239, 239);
  .header {
    width: 100%;
    height: 270px;
    background-color: #6393e7;
    color: rgb(241, 236, 236);
    ul {
      display: flex;
      justify-content: space-between;
      width: 90%;

      margin: 0 auto;
      padding-top: 5px;
      li:nth-child(2) {
        margin-left: 55px;
      }
      img {
        width: 15px;
      }
    }
    .moneny {
      width: 50%;
      margin: 50px auto;
      text-align: center;
      h1 {
        margin-top: 20px;
      }
      h3 {
        display: flex;
        margin-left: 15%;
        //   justify-content: space-around;
        img {
          width: 7px;
          padding: 10px;
        }
      }
    }
  }
  .content {
    width: 100%;
    background-color: rgb(252, 252, 252);
    li {
      width: 90%;
      margin: 0 auto;
      display: flex;
      align-items: center;
      height: 40px;
      border-bottom: 1px solid rgb(226, 222, 222);

      img {
        width: 25px;
        // padding-top: 5px;
        margin-right: 10px;
      }
    }
  }
  .footer {
    position: fixed;
    bottom: 0;
    width: 100%;
    background-color: white;
    display: flex;
    justify-content: space-around;

    button {
      width: 45%;
      height: 50px;
      margin-bottom: 8px;
      border: 0;
    }
    .btn1 {
      background-color: #dde5f2;
      color: #5b88e0;
    }
    .btn2 {
      background-color: #6393e7;
      color: white;
    }
  }
}
</style>
<script>

export default {
  components: {  },
  methods: {
    goback() {
      this.$router.go(-1);
    },
  
  },
};
</script>